home *** CD-ROM | disk | FTP | other *** search
- global gSuspend, white, gOldDepth, gCycleDur, gCycleStart, gLookAwayTime, g501HoldTime, gWatchHoldTime, gBeenHere, gPlatform, gThePage
-
- on startMovie
- if the machineType <> 256 then
- set gPlatform to "Mac"
- else
- set gPlatform to "Win"
- end if
- if the movieName contains ".dir" then
- initForLocal()
- end if
- set gCycleDur to 20 * 60
- set gLookAwayTime to 8 * 60
- set g501HoldTime to 20 * 60
- set gWatchHoldTime to 2 * 60
- set gCycleStart to the timer
- set gBeenHere to 1
- preLoad(2, 6)
- preLoad(15, 16)
- end
-
- on stopMovie
- global gOldDepth, gBeenHere, gCpuTicks
- set gBeenHere to 0
- if gCpuTicks then
- set the cpuHogTicks to gCpuTicks
- end if
- puppetPalette("Netscape 216+Cycle")
- updateStage()
- end
-
- on waitForTicks theTicks
- set startTime to the timer
- repeat while the timer < (theTicks + startTime)
- nothing()
- end repeat
- end
-
- on initForLocal
- installMenu(cast "file menu")
- end
-